-
Notifications
You must be signed in to change notification settings - Fork 790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix 17786 - CompileBefore/CompileAfter is lost due to the FSharpSourceCodeCompileOrder target #17791
Conversation
@auduchinok let me know if this works for you. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KevinRansom Wow, this is such a simple fix! Looks great, thank you very much! 🙂
|
||
<CompileLast> | ||
<CompileOrder>CompileLast</CompileOrder> | ||
</CompileLast> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please also add CompileFirst
?
I see its usage in FSharpSourceCodeCompileOrder
here:
<__Sources Include="@(Compile->WithMetadataValue('CompileOrder', 'CompileFirst'))" /> |
and in FSharp.Core
here:
fsharp/src/FSharp.Core/FSharp.Core.fsproj
Line 80 in 6cdcc3c
<Compile Include="prim-types-prelude.fsi" CompileOrder="CompileFirst"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@KevinRansom This hasn't been resolved. 😞
Fixes: #17786 - CompileBefore/CompileAfter is lost due to the FSharpSourceCodeCompileOrder target
This adds the CompilationOrder metadata as default metadata to CompileBefore/CompileAfter and CompileLast. This ensures that when they are inserted into the Compile/Sources collection the metadata goes with them.
Currently:
With this change: